
$('document').ready(function(){
    $('.uploadBox').append(`
        <input type="file" id="upload"/>
    `)

    let style = $('.uploadBox').attr('style')

    if(!style)
        style = ""

    $('.uploadBox').attr('style', style+'position:relative')
    $('.uploadBox #upload').attr('style', 'position:absolute; opacity:0; top:0px; height:100%; width:100%;left:0;')
})